﻿using System.Collections.Generic;
using System.Web.Http;
using Inovout.Data.Service;
using Inovout.Web.Http;
using KuaJing.Accountant.Domain;

namespace KuaJing.Accountant.WebApi.Controllers
{
    public class AccountController : BaseController
    {
        [Route("v1/a")]
        public IEnumerable<Account> Get()
        {
            return GetService<IRepositoryService<Account>>().FindAll();
      
        }
    }
}
